/*
* @ClassName:ActivityApplyDao.java
* @Description: TODO(������һ�仰��������������) 
* @author: 
*-----------Zihan--���ÿƼ� ��Ȩ����------------
* @date 2016-11-22
*/
package com.daka.dao1;

import com.daka.entity.ActivityApply;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "activityApplyDao")
@SQLMapper
public interface ActivityApplyDao
{
    int deleteByPrimaryKey(Integer id);

    int insert(ActivityApply record);

    int insertSelective(ActivityApply record);

    ActivityApply selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ActivityApply record);

    int updateByPrimaryKey(ActivityApply record);

    List<ActivityApply> findByActivity(@Param("activity") Integer activity);

}